package com.yuanfeng.commoms.config;

public class YFConfig {

	public final static String TOUXING = "http://fkgou-images.oss-cn-qingdao.aliyuncs.com/file/upload/20190110/20190110094018.png?Expires=1862444433&OSSAccessKeyId=LTAIHv7U1m8yTCrg&Signature=UaFGoQWe9s9r18850JAePkBRwh4%3D";

	public final static int TOKEN_OUTTIME = 86400;
	// 根据code存储用户信息
	public final static String YF_USER_TOKEN_USER = "yf-user-token-user_";

	// 根据code存储用户信息
	public final static String YF_USER_TOKEN_USERID = "yf-user-token-userid_";

	// 根据code存储注册用户id
	public final static String YF_USER_LOGON_USERID = "yf-user-logon-userid_";

	// 根据手机号存储手机验证码，默认时间为五分钟
	public final static String YF_USER_PHONE_VERIFICODE = "yf_user_phone_verificode_";

	// 存放手机验证码对应sessionId
	public final static String YF_VERIFICODE_CLIENT_SESSION_ID = "yf_VerifiCode_client_session_id";

	// 根据根据随机数取token
	public final static String RANDOM_TOKEN = "random-token_";

	// 随机数保存的对应微信信息
	public final static String RANDOM_WEIXINJSON = "random-weixinjson";

	// 用户订单状态
	public final static String YF_ORDERSTATUS = "yf_orderStatus";

	// 退款认证
	public final static String RETURN_VERIFY_PARAM = "return_verify_param_";

	// 已经绑定过手机回调地址
	public final static String ALRIGHT_BIND_URL = "https://java.yuanfengtest.com/wap/pages/personal.html?1=";
	// 未绑定手机回调地址
	public final static String NOT_BIND_URL = "https://java.yuanfengtest.com/wap/pages/personal.html?1=";

	// 二维码注册页面链接
//	public final static String QR_CODE_REGISTER_SHOPID = "https://www.baidu.com/?shopId=";

	public final static String QR_CODE_REGISTER_USERID = "https://java.yuanfengtest.com/wap/pages/shareregister.html?userId=";

	public final static String QR_CODE_REGISTER_SHOPID = "https://java.yuanfengtest.com/wap/pages/register.html?shopId=";

	// 微信扫二维码跳转链接
	public final static String QR_CODE_LOGIN = "https://mobile.baidu.com/item?pid=3363435&&fkgoulogin=";

	// 测试回跳地址
	public final static String TEST_NOT_BIND_URL = "https://java.yuanfengtest.com/testwap/pages/autologin.html?";

	// 根据code存储用户信息
	public final static String YF_USER_OPENID = "yf-user-openid";
	// 根据code存储用户信息
	public final static String YF_USER_UNIONID = "yf-user-unionid";

	public final static String YF_USER_RESTRICT = "yf-user-restrict";

	public final static String SELF_ALLIANCE_ADD_TEAM_VERIFICATION = "self_alliance_add_verification";

	// 库存+/-
	public final static String YF_SALENUM = "yf_saleNum_";

	// 用户实付的积分
	public final static String YF_USERINTEGRALYPAID = "yf_userintegralpaid";

	// 用户实付金额
	public final static String YF_USERAMOUNTACTUALLYPAID = "yf_useramountactuallypaid";

	// 存放商家手机号
	public final  static String YF_SELLERPHONE = "yf_sellerphone";

	// 存放店铺是否自营
	public final  static String YF_SHOP_IS_SUPPORT = "yf_shop_is_support_";

	// 判断是否支付过
	public final static String DETERMINEWHETHERTOPAY = "determine_whether_to_pay";

	// 支付存值
	public final static String YF_TREASUREPARA = "yf_treasurePara_";

	// 订单来源存值
	public final static String YF_ORDERFORM = "yf_orderFrom_";

	// 存放订单对应的用户
	public final  static String YF_ORDER_USER_TOKEN = "yf_order_user_token_";

	// 用户申请退款,商家拒绝次数
	public final static String  NUMBER_OF_TIMES_MERCHANTS_REFUSE_REFUNDS="number_of_times_merchants_refuse_refunds";

	// 根据code存储用户信息
	public final static String YF_PLATFORM_TOKEN_USER = "platform_user_";

	// 根据code存储用户信息
	public final static String YF_PLATFORM_TOKEN_USERID = "platform_userid_";

	// 存放当前用户是否提现请求
	public final  static String YF_FX_WITHDRAW_ = "yf_fx_withdraw_";

	//定义好获取的域名后缀。如果还有要定义的	请添加 |(\\.域名的后缀) 。
	public final static String regStr="[0-9a-zA-Z]+((\\.com)|(\\.cn)|(\\.org)|(\\.net)|(\\.edu)|(\\.com.cn)|(\\.xyz)|(\\.xin)|(\\.club)|(\\.shop)|(\\.site)|(\\.wang)" +
			"|(\\.top)|(\\.win)|(\\.online)|(\\.tech)|(\\.store)|(\\.bid)|(\\.cc)|(\\.ren)|(\\.lol)|(\\.pro)|(\\.red)|(\\.kim)|(\\.space)|(\\.link)|(\\.click)|(\\.news)|(\\.news)|(\\.ltd)|(\\.website)" +
			"|(\\.biz)|(\\.help)|(\\.mom)|(\\.work)|(\\.date)|(\\.loan)|(\\.mobi)|(\\.live)|(\\.studio)|(\\.info)|(\\.pics)|(\\.photo)|(\\.trade)|(\\.vc)|(\\.party)|(\\.game)|(\\.rocks)|(\\.band)" +
			"|(\\.gift)|(\\.wiki)|(\\.design)|(\\.software)|(\\.social)|(\\.lawyer)|(\\.engineer)|(\\.org)|(\\.net.cn)|(\\.org.cn)|(\\.gov.cn)|(\\.name)|(\\.tv)|(\\.me)|(\\.asia)|(\\.co)|(\\.press)|(\\.video)|(\\.market)" +
			"|(\\.games)|(\\.science)|(\\.中国)|(\\.公司)|(\\.网络)|(\\.pub)" +
			"|(\\.la)|(\\.auction)|(\\.email)|(\\.sex)|(\\.sexy)|(\\.one)|(\\.host)|(\\.rent)|(\\.fans)|(\\.cn.com)|(\\.life)|(\\.cool)|(\\.run)" +
			"|(\\.gold)|(\\.rip)|(\\.ceo)|(\\.sale)|(\\.hk)|(\\.io)|(\\.gg)|(\\.tm)|(\\.com.hk)|(\\.gs)|(\\.us))";

	public final static String IM_CONFIG = "IM_CONFIG";

	public final static String KDINIAO_CONFIG = "KDINIAO_CONFIG";

	public final static String OSS_CONFIG = "OSS_CONFIG";

	public final static String SMS_CONFIG = "SMS_CONFIG";

	public final static String ALI_PAY_CONFIG = "ALI_PAY_CONFIG";

	public final static String LOGIN = "login:";

	/**
	 * 微信直播 地址
	 */
	public final static String WX_LIVE_HOSTS = "https://api.weixin.qq.com";

	public final static String WX_LIVE_GOODS = "https://api.weixin.qq.com/wxaapi/broadcast/goods/add?access_token=";

	public final static String WX_LIVE_ADDPATH = "/wxaapi/broadcast/role/addrole?access_token=";

	public final  static  String WX_LIVE_DELPATH = "/wxaapi/broadcast/role/deleterole?access_token=";

	//存储userID和商品shopID
	public final static String YF_USERID_SHOPID ="fkgou_userid_shopid";

	// 订单来源存值
	public final static String FKGOU_ORDERFORM = "fkgou_orderFrom_";
}
